﻿@model DemoUserInfo.Models.Article

@{
    ViewBag.Title = "Details";
}
@{
    string src = ViewBag.src;
    string title = ViewBag.titleImg;
}
<div class="container">
    <hr />
    <div class="row">
        <div class="col-md-12">
            <div class="showcase_img">
                <img src="@Url.Content(title)" class="titleImg" alt="titu" />
            </div>
        </div>
        <div class="col-md-8 col-md-offset-2 text-center">
            <h1>
                @Html.DisplayFor(model => model.Title)
            </h1>
            <h2>
                <br>
                <small>@Html.DisplayFor(model => model.Author)</small>
                <br>
                <small>@Html.DisplayFor(model => model.Date)</small>
            </h2>
        </div>
        <hr />
        <div class="col-md-8 col-md-offset-2">
            @Html.Partial(src)
        </div>
        <div class="col-md-4">
            @Html.ActionLink("返回文章列表", "Index", new { @class = "btn btn-info" })
        </div>
    </div>
</div>
